package com.yunke.common.exception;

import com.yunke.common.result.YunkeResultCode;

/**
 * 业务异常类
 * 
 * @author yunke
 * @since 1.0.0
 */
public class BusinessException extends YunkeException {

    private static final long serialVersionUID = 1L;

    public BusinessException() {
        super();
    }

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(Integer code, String message) {
        super(code, message);
    }

    public BusinessException(YunkeResultCode resultCode) {
        super(resultCode);
    }

    public BusinessException(YunkeResultCode resultCode, String message) {
        super(resultCode, message);
    }

    public BusinessException(Throwable cause) {
        super(cause);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }
} 